package com.jt.tenant.conn;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/3/16.
 */
@HttpInlet(Conn.INLET_RESET_PASSWORD)
public class GetResetPassword extends JTAsyGet{

    public String auth_code;

    public String password;

    public String phone;

    public GetResetPassword(AsyCallBack<Info> asyCallBack) {

        super(asyCallBack);

    }

    @Override
    protected Object parser(JSONObject object) {

        JSONObject apiTYF = object.optJSONObject("apiTYF");

        JSONObject head = apiTYF.optJSONObject("head");

        Info info = new Info();

        info.msg = head.optString("msg");

        return info;

    }



    public class Info{

        public String msg;

    }
}
